﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XMLib;

namespace ActionSystem.Core
{
    [System.Serializable]
    public class StateGroup
    {
        [NonSerialized]
        public const int NoGroup= -1;
        /// <summary>
        /// 组ID
        /// </summary>
        [SerializeField]
        int gid = NoGroup;
        public int GID { get => gid;set { gid = value; } }
        /// <summary>
        /// 组名称
        /// </summary>    
        [SerializeField]
        [Drawable(true)]
        [CustomLabel("组名称:")]
        string groupName = "New StateGroup";
        public string GroupName { get => groupName;set { groupName = value; } }
    }
}


